import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/stash/stash_list/list',
    method: 'get',
    params
  })
}

export function delStashList(params) {
  return request({
    url: '/stash/stash_list/del',
    method: 'get',
    params
  })
}

export function delList(params) {
  return request({
    url: '/stash/stash_list/delBatch',
    method: 'get',
    params
  })
}

export function add(data) {
  return request({
    url: '/stash/stash_list/add',
    method: 'post',
    data
  })
}

export function edit(data) {
  return request({
    url: '/stash/stash_list/edit',
    method: 'post',
    data
  })
}


